package com.xianbeiying.app.ckgl.bean;

import java.util.List;

/**
 * Created by yangjie on 16/9/16.
 */
public class SystemConfigBean {

    /**
     * K : GET_CROP_STEP_ALL_INFO
     * V : {"CROPSTEPALLINFOS":[{"cropId":1,"cropType":4,"plantType":1,"stepId":1,"cropName":"马铃薯","stepName":"生长期","stepColor":"00ff00","stepDuration":10,"remark":null},{"cropId":2,"cropType":0,"plantType":0,"stepId":1,"cropName":"圣女果","stepName":"生长期","stepColor":"00ff00","stepDuration":30,"remark":null},{"cropId":2,"cropType":0,"plantType":1,"stepId":1,"cropName":"圣女果","stepName":"生长期","stepColor":"00ff00","stepDuration":10,"remark":null},{"cropId":6,"cropType":5,"plantType":1,"stepId":1,"cropName":"SuanMiao","stepName":"生长期","stepColor":"00ff00","stepDuration":20,"remark":null},{"cropId":10,"cropType":0,"plantType":0,"stepId":1,"cropName":"南瓜","stepName":"生长期","stepColor":"00ff00","stepDuration":20,"remark":null},{"cropId":11,"cropType":0,"plantType":0,"stepId":1,"cropName":"西葫芦","stepName":"生长期","stepColor":"00ff00","stepDuration":20,"remark":null}]}
     * R : true
     * ERR_MSG :
     */

    private String K;
    private VBean V;
    private boolean R;
    private String ERR_MSG;

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }

    public boolean isR() {
        return R;
    }

    public void setR(boolean R) {
        this.R = R;
    }

    public String getERR_MSG() {
        return ERR_MSG;
    }

    public void setERR_MSG(String ERR_MSG) {
        this.ERR_MSG = ERR_MSG;
    }

    public static class VBean {
        /**
         * cropId : 1
         * cropType : 4
         * plantType : 1
         * stepId : 1
         * cropName : 马铃薯
         * stepName : 生长期
         * stepColor : 00ff00
         * stepDuration : 10
         * remark : null
         */

        private List<CROPSTEPALLINFOSBean> CROPSTEPALLINFOS;

        public List<CROPSTEPALLINFOSBean> getCROPSTEPALLINFOS() {
            return CROPSTEPALLINFOS;
        }

        public void setCROPSTEPALLINFOS(List<CROPSTEPALLINFOSBean> CROPSTEPALLINFOS) {
            this.CROPSTEPALLINFOS = CROPSTEPALLINFOS;
        }

        public static class CROPSTEPALLINFOSBean {
            private int cropId;
            private int cropType;
            private int plantType;
            private int stepId;
            private String cropName;
            private String stepName;
            private String stepColor;
            private int stepDuration;
            private Object remark;

            public int getCropId() {
                return cropId;
            }

            public void setCropId(int cropId) {
                this.cropId = cropId;
            }

            public int getCropType() {
                return cropType;
            }

            public void setCropType(int cropType) {
                this.cropType = cropType;
            }

            public int getPlantType() {
                return plantType;
            }

            public void setPlantType(int plantType) {
                this.plantType = plantType;
            }

            public int getStepId() {
                return stepId;
            }

            public void setStepId(int stepId) {
                this.stepId = stepId;
            }

            public String getCropName() {
                return cropName;
            }

            public void setCropName(String cropName) {
                this.cropName = cropName;
            }

            public String getStepName() {
                return stepName;
            }

            public void setStepName(String stepName) {
                this.stepName = stepName;
            }

            public String getStepColor() {
                return stepColor;
            }

            public void setStepColor(String stepColor) {
                this.stepColor = stepColor;
            }

            public int getStepDuration() {
                return stepDuration;
            }

            public void setStepDuration(int stepDuration) {
                this.stepDuration = stepDuration;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }
        }
    }
}
